CBOE VIX#

import pandas as pd
import pandas_datareader
import config

def load_vix_from_fred(start="1998-01-01", end="2023-12-31"):
    """
    Load VIX data from FRED
    """
    df = pandas_datareader.get_data_fred("VIXCLS", start=start, end=end)
    return df
import matplotlib.pyplot as plt

# Assuming you have the data for the CBOE VIX index stored in a variable called 'vix_data'
# Plotting the graph

df = load_vix_from_fred()
df.plot()

# Adding labels and title
plt.xlabel('Time')
plt.ylabel('VIX Index')
plt.title('CBOE VIX Index')

# Displaying the graph
plt.show()
../_images/30f2568e5b8c5a7ecc16dacec4d3d99d85867304fc65311908091d8a8e69dab2.png

PCA Index Dashboard Examples#

This script was last run at 2024-03-09 04:11:00.063150+00:00 (UTC)
In US/Central Time, this is 2024-03-08 22:11:00.063150-06:00
../_images/8e845775f955bb5d7aebdbe5927e3e4b5df69fd13de0f458fd8dea61648f6b49.png
../_images/8b1bd6b8ea6751755116493814491c17f2581a5dc67ce43717f59afc1963f69c.png